package iodemo;

import java.io.Serializable;

public class ObjectFile implements Serializable
{
    private String name;
    private String id;
    private int age;
    
    public ObjectFile ()
    {
    
    }
    
    public ObjectFile (String name, String id, int age)
    {
        this.name = name;
        this.id = id;
        this.age = age;
    }
    
    public String getName ()
    {
        return name;
    }
    
    public void setName (String name)
    {
        this.name = name;
    }
    
    public String getId ()
    {
        return id;
    }
    
    public void setId (String id)
    {
        this.id = id;
    }
    
    public int getAge ()
    {
        return age;
    }
    
    public void setAge (int age)
    {
        this.age = age;
    }
    
    
    
    @Override
    public String toString ()
    {
        return "ObjectFile{" +
               "name='" + name + '\'' +
               ", id='" + id + '\'' +
               ", age=" + age +
               '}';
    }
}
